package org.wukongcrm.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.wukongcrm.domain.entity.Menu;
import org.wukongcrm.domain.model.MenuVo;
import org.wukongcrm.mapper.MenuMapper;
import org.wukongcrm.service.MenuService;

@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {

    @Override
    public List<Menu> findFirstMenu (Integer id) {
        return baseMapper.findFirstMenu(id);
    }
}
